<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* @media screen and (min-width:700px) {
            .box{
                font-size: 60px;
            }
        } */

        @media (orientation: portrait){
            .box {
                width: 200px;
                height: 200px;
                background: pink;
            }
        }
        @media (orientation: landscape){
            .box {
                width: 200px;
                height: 200px;
                background: skyblue;
            }
        }
    </style>
</head>
<body>
    <div class="box">aaaaaaaaa</div>
</body>
</html>